package com.team.olympic.pojo;

import java.sql.Timestamp;

import com.fasterxml.jackson.annotation.JsonFormat;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Match {
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long id;
    @JsonFormat(timezone="GMT+8")
    private Timestamp startDate;
    private String itemName;
    private String title;
    private String homeName;
    private String awayName;
    private Long homeScore;
    private Long awayScore;
    private String winner;
}
